package com.tbit.main.constant.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author <a href="mailto:zheng.zebiao@tbit.com.cn">zb</a>
 * @since 2025/2/20
 */
@Getter
public enum RuleLogic {
    BETWEEN("between"),
    EQUAL("equal"),
    GREATER_THAN("greaterThan"),
    LESS_THAN("lessThan"),
    NOT_EQUAL("notEqual"),
    NOT_BETWEEN("notBetween"),
    NOT_GREATER_THAN("notGreaterThan"),
    NOT_LESS_THAN("notLessThan"),
    SUB_BETWEEN_OR("subBetweenOr"),
    SUB_BETWEEN_AND("subBetweenAnd")
    ;
    @EnumValue
    private final String value;

    RuleLogic(String value) {
        this.value = value;
    }
}
